package 创建者模式.工厂模式.p03_静态工厂方法;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/3/3 11:12
 */

public class CoffeeStore {
    public Coffee orderCoffee(String type){
        Coffee coffee = StaticCoffeeStore.createCoffee(type);
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
